//
//  CourseResultItemCell.h
//  ShowYork
//
//  Created by hxh on 2020/8/28.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LessonSearchModel.h"
NS_ASSUME_NONNULL_BEGIN

@protocol LessonResultItemCellDelegate <NSObject>

- (void)didSelectedWithCurrentModel:(LessonSearchModel *)currentModel atIndex:(NSInteger)index;

@end

@interface LessonResultItemCell : UICollectionViewCell
@property (nonatomic,weak)id<LessonResultItemCellDelegate>delegate;

- (void)setSearchModel:(LessonSearchModel *)model atIndex:(NSInteger)index;

@end

NS_ASSUME_NONNULL_END
